package com.yq.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yq.backend.dto.CardProductsDto;
import com.yq.backend.pojo.CardProduct;

import java.util.List;

public interface CardProductMapper extends BaseMapper<CardProduct> {


    long getCardProductCount(CardProductsDto cardProductsDto);

    List<CardProduct> getCardProducts(CardProductsDto cardProductsDto, int pageNow, int pageSize);
}
